package com.lyh.crm.workbench.dao;

import com.lyh.crm.workbench.domain.Activity;
import com.lyh.crm.workbench.domain.Product;

import java.util.List;
import java.util.Map;

public interface ProductDao {

    List<Product> getProductListByCondition(Map<String, Object> map);

    int getTotalByCondition(Map<String, Object> map);

    int save(Product p);

    int delete(String[] ids);

    Product getById(String id);

    int update(Product p);
}
